from django.conf.urls import url
from rest_framework import routers

from . import views

urlpatterns = [
  url(r'contacts/$', views.ContactsList.as_view()),
  url(r'searchFriend/(?P<searchInfo>.*)$', views.SearchFriend.as_view()),
  url(r'friendRequest/(?P<pk>\d+)/$', views.FriendRequestViewDetail.as_view()),
  url(r'friendRequest/$', views.FriendRequestView.as_view()),
]

